<html>
    <head>
        <title>Upload Locandina</title>
	<meta name="author" content="Mattia Coccato">

	<script type="text/javascript">
		<% if((session.getAttribute("utente")==null) || !((Boolean)(session.getAttribute("amministrativo")))) out.print("window.location=\"index.jsp\";"); %>
	</script>

	<link rel="stylesheet" href="css/amm_upload_locandina.css" type="text/css" media="all" />
    </head>
    <body>
        <form action="../admin/upload-image"  enctype="multipart/form-data" method="post">
		<input type="hidden" name="idEvento" value='<%=request.getParameter("idEvento") %>'/>
		<p>Seleziona il file da caricare.<br />Nota: sono ammessi solo file JPEG.</p>
		<center>
			<input type="file" name="immagine" id="immagine" />
                	<input type="Submit" value="Upload" id="upload"/>
		</center>
        </form>
    </body>
</html>
